package com.lxh.chainofresponsibility;

/**
 * Handler 类
 * Create by lxh on 2020/2/15
 */
public abstract class Manager {

    // 管理者的上级
    protected Manager superior;

    public void setSuperior(Manager superior) {
        this.superior = superior;
    }

    // 申请请求
    public abstract void request(Request request);
}
